class CreateStoreAdjustSalaryLogs < ActiveRecord::Migration[5.0]
  def change
    create_table :store_adjust_salary_logs do |t|
      t.integer :store_id
      t.integer :store_staff_id
      t.decimal :basic
      t.string :started_at
      t.integer :creator_id
      t.string :reason

      t.timestamps
    end
    add_index :store_adjust_salary_logs, :store_staff_id
  end
end
